package com.bf.electroplating.pojo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @TableName com_company
 */
@TableName(value ="com_company")
@Data
public class ComCompany {
    private String id;

    @TableField(fill = FieldFill.INSERT)
    private String parkId;

    private String companyName;

    private String companyAbbreviation;

    private String industryType;

    private String legalPerson;

    private String companyAddress;

    private String environmentalOfficer;

    private String environmentalOfficerPhone;

    private String pollutionDischargeInfo;

    @TableField("ORGANIZATION_CODE")
    private String organizationCode;

    @Schema(description = "是否为污水厂1是0否")
    @TableField("IS_SEWAGE_PLANT")
    private String isSewagePlant;
    /**
     * 经度
     */
    private Double longitude;

    /**
     * 纬度
     */
    private Double latitude;

    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private String delFlag;

    private String extraPlatformId;

    private String extraPlatformName;

    @Schema(description = "所属污水厂编码")
    @TableField("BELONG_SEWAGE_CODE")
    private String belongSewageCode;

    @Schema(description = "外部站点编码")
    @TableField("EXTRA_SITE_ID")
    private Integer extraSiteId;

}